package com.js.basicpage.activity;

// Created by JS on 2021/1/18.

import android.os.Bundle;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import androidx.annotation.Nullable;

import com.js.basicpage.R;

public class BaseSplashActivity extends BaseLoadingDialogActivity {

    protected ImageView ivBg;
    protected LinearLayout llJump;
    protected TextView tvSecond;
    protected BaseSplashActivity mContext;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        mContext = this;
        setContentView(R.layout.activity_splash);
        initView();
    }

    protected void initView() {
        ivBg = findViewById(R.id.iv_bg);
        llJump = findViewById(R.id.ll_jump);
        tvSecond = findViewById(R.id.tv_second);
    }
}
